package my.jbf.firstGame.BITMAP;
import android.graphics.*;

public class GameBitmap
{
	protected Point LeftTopPoint;
	protected Bitmap mBitmap;
	protected Canvas mCanvas;
	protected Paint mPaint;
	protected Point RightBottomPoint;
	protected Point CenterPoint;
	protected int BitmapW;
	protected int BitmapH;
	public GameBitmap(int bitmapW,int bitmapH)
	{
		BitmapW=bitmapW;
		BitmapH=bitmapH;
		init();
	}
	public GameBitmap()
	{
		BitmapW=200;
		BitmapH=200;
		init();
	}
	protected void init()
	{
		mBitmap=Bitmap.createBitmap(BitmapW,BitmapH,Bitmap.Config.ARGB_8888);
		mCanvas=new Canvas(mBitmap);
		mPaint=new Paint();
		
	}
	



	

	public void setMBitmap(Bitmap mBitmap)
	{
		this.mBitmap = mBitmap;
	}

	public Bitmap getMBitmap()
	{
		return mBitmap;
	}

	public void setMCanvas(Canvas mCanvas)
	{
		this.mCanvas = mCanvas;
	}

	public Canvas getMCanvas()
	{
		return mCanvas;
	}

	public void setMPaint(Paint mPaint)
	{
		this.mPaint = mPaint;
	}

	public Paint getMPaint()
	{
		return mPaint;
	}}
